<!-- Phan khai bao bien cuc bo-->
<?php
$v_customer_name= "";
if(isset($_REQUEST['hdn_customer_name'])){
	$v_customer_name = $_REQUEST['hdn_customer_name'];
}
$v_customer_card_id = "";
if(isset($_REQUEST['hdn_customer_card_id'])){
	$v_customer_card_id = $_REQUEST['hdn_customer_card_id'];
}
$v_code= "";
if(isset($_REQUEST['hdn_code'])){
	$v_code = _replace_bad_char($_REQUEST['hdn_code']);
}
$v_customer_record_id = 0;
if(isset($_REQUEST['hdn_customer_record_id'])){
	$v_customer_record_id = $_REQUEST['hdn_customer_record_id'];
}
?>
<!--bang chua tieu de cua form-->
<table width="100%" cellpadding="0" cellspacing="0">
	<tr class="large_title">
		<td><?php echo CONST_REGISTOR_IDENTITY_STEP4_TITLE; ?></td>
	</tr>
</table>
<!-- Bat cac phim: F12=true; Insert=false; Delete=false, ESC=true; Enter=true -->
<div id="hotkey" onKeyDown="javascript:process_hot_key(true,false,false,true,true);">
<!--bang chua cac text box de nhap du lieu-->
<table width="100%" class="form_table1" border="0" cellpadding="0" cellspacing="0">
	<col width="20%"><col width="30%"><col width="20%"><col width="30%">
	<tr>
		<form action="index.php" method="post" name="f_dsp_single_customer_identity">
		<input type="hidden" name="fuseaction" value="DISPLAY_SINGLE_CUSTOMER_IDENTITY">
		<input type="hidden" name="hdn_code" value="<?php echo $v_code; ?>">
		<input type="hidden" name="hdn_worktype" value="REGISTER">		
		<input type='hidden' name='hdn_list_xml_tag' value=''>
		<input type='hidden' name='hdn_list_xml_value' value=''>
	</tr>
	<tr>
		<td class="normal_label" colspan="4"><?php echo CONST_REGISTER_GUIDE_LABEL.Get_text_from_array($_SESSION['recordtype'],'PK_RECORDTYPE','PK_RECORDTYPE','C_NAME', $v_recordtype_filter).CONST_REGISTER_GUIDE1_LABEL.$_ISA_OWNER_NAME; ?></td>
	</tr>
	<tr>
		<td class="normal_label" colspan="4"><?php echo CONST_REGISTER_GUIDE2_LABEL.Get_text_from_array($_SESSION['recordtype'],'PK_RECORDTYPE','PK_RECORDTYPE','C_PROCESS_DATE', $v_recordtype_filter).CONST_REGISTER_GUIDE3_LABEL; ?></td>
	</tr>
	<tr>
		<td class="normal_label" colspan="4"><?php echo CONST_REGISTER_GUIDE4_LABEL; ?></td>
	</tr>
	<tr style="display:none">
		<td class="normal_label" colspan="1"><?php echo CONST_REGISTOR_NAME_LABEL; ?></td>
		<td class="normal_value" colspan="3"><?php echo $v_customer_name; ?></td>
	</tr>
	<tr style="display:none">
		<td class="normal_label" colspan="1"><?php echo CONST_REGISTOR_CARD_ID_LABEL; ?></td>
		<td class="normal_value" colspan="3"><?php echo $v_customer_card_id; ?></td>
	</tr>
	<tr>
		<td class="normal_label" colspan="1"><?php echo CONST_REGISTOR_CODE_LABEL; ?></td>
		<td class="normal_value" colspan="3"><?php echo $v_code; ?></td>
	</tr>
</table>
<!--bang chua cac button-->
<table width="100%" cellpadding="0" cellspacing="0">
	<tr><td>&nbsp;</td></tr>
	<tr>
		<td align="center">
			<input type="button" name="btn_print" class="normal_button" value="<?php echo CONST_PETITION_PRINT_BUTTON; ?>" style="width:25%" onClick="btn_print_petition_onclick('../../record/customer/index.php','<?php echo $v_customer_record_id ?>','<?php echo $v_recordtype_filter ?>','PRINT_CUSTOMER_RECORD')">
			<input type="button" name="btn_save"  class="normal_button" value="<?php echo CONST_FINISH_BUTTON;?>"  style="width:100px"  onClick="window.location='<?php echo _CONST_HOMEPAGE_URL_PATH;?>'" onKeyDown="change_focus(document.forms(0),this)">
			<!--
			<input type="button" name="btn_back" class="normal_button" value="<?php echo _CONST_BACK_BUTTON;?>" onClick="btn_back_onclick('DISPLAY_ALL_RECORD_WORK')" onKeyDown="change_focus(document.forms(0),this)">
			-->	
		</td>
	</tr>
</table>					
</div>
</form>
<script language="JavaScript">
	set_focus(document.forms(0));
</script>
